YAYDP\Abstracts\YAYDP_Product_Pricing_Rule A

Total Complexity 59
Dependencies 3
Dependents 1
Total lines 323
Lines of code 167
Logical lines of code 108
Comment lines 123
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
can_apply_to()
B
43 16 48
replace_offer_description_variables()
A
47 8 33
replace_tooltip_variables()
S
51 4 27
get_offer_description()
S
65 5 9
get_fixed_discount_values()
S
65 4 9
get_tooltip()
S
70 3 6
get_percentage_discount_values()
S
72 2 6
is_excluded()
S
74 2 4
get_maximum_adjustment_amounts()
S
72 2 6
get_buy_product_filters()
S
78 2 3
get_buy_product_match_type()
S
77 2 3
get_maximum_adjustment_amount()
S
74 2 4
get_pricing_value()
S
76 2 3
get_pricing_type()
S
77 2 3
add_encouraged_notice()
S
100 1 0
check_conditions()
S
82 1 3
collect_adjustments()
S
100 1 0